<template>
	<view class="container">
		<view class="cu-form-group border-b">
			<view class="title">当前账号</view>
			<view class="txt gray">{{Admin.UserName}}</view>
		</view>
		<view class="cu-form-group border-b">
			<view class="title">姓名</view>
			<view class="txt gray">{{Admin.RealName}}</view>
		</view>
		<view class="cu-form-group border-b">
			<view class="title">部门</view>
			<view class="txt gray">{{Admin.DepartName}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				Admin:{}
			}
		},
		onPullDownRefresh() {

		},
		onShow() {
			
		},
		onLoad(options) {
			this.Find_AdminInfo();
		},
		methods: {
			Find_AdminInfo(){
				var data = {};
				data.Act="Find_AdminInfo";
				this.Util.Loading("请稍候...");
				this.Util.Post(data, json=>{
					uni.stopPullDownRefresh();
					this.Util.HideLoading();
					if(json.State){
						this.Admin=json.Data.Admin;
					}
				});
			}
		}
	}
</script>

<style lang="scss">
	.container{padding-top:30rpx;}
</style>
